package com.wnzt.baszh.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.springframework.stereotype.Repository;
@Entity
@Table(name = "BAZK_BASXMX", schema = "dbo", uniqueConstraints = {})
public class TbasxMx implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer fid;				//主键
	private String fmbid;				//模板ID
	private String fexplan;				//解析用
	private String fstandardcode;		//对应标准编码
	private Integer fstandardtype;		//编码类型,0:标准编码,1:科室下拉选择,2:医生,3:ICD码悬浮框,4:疾病名称,5:中医码悬浮框,6:手术码悬浮框
	private String fitemcode;			//字段名
	private String fitemname;			//中文说明
	private String fitemtype;			//类型
	private String fjb;					//级别
	private String fpx;					//排序
	//private String frelation;			//条件内部关系
	private String fselected;			//是否已被选作条件
	private String fshow;				//显示用
	private String fshownull;			//字段为空值的是否同时查询出来
	private String fshowsqls;			//对特定字段，手术和疾病的显示条件（手术码，手术名称，ICD码，疾病名称  这几个字段需要设置这一项）
	private String fsql;				//sql语句
	private String ftablename;			//所属表名
	private String fzdlx;				//诊断类型，只对itemType=8有效
	private String fcjztygh;			//创建者统一工号
	private String fcjz;				//创建者
	private Date fstartdate;			//开始时间
	private Date fenddate;				//结束时间
	private String ftykh;				//统一科号
	private String fks;					//科室
	private String andor;
	private String lbracket;
	private String rbracket;
	private String type;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY) 
	@Column(name="fid")
	public Integer getFid() {
		return fid;
	}
	public void setFid(Integer fid) {
		this.fid = fid;
	}
	
	@Column(name="fmbid")
	public String getFmbid() {
		return fmbid;
	}
	public void setFmbid(String fmbid) {
		this.fmbid = fmbid;
	}
	
	@Column(name="type")
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	@Column(name="fexplan")
	public String getFexplan() {
		return fexplan;
	}
	public void setFexplan(String fexplan) {
		this.fexplan = fexplan;
	}
	
	@Column(name="fstandardcode")
	public String getFstandardcode() {
		return fstandardcode;
	}
	public void setFstandardcode(String fstandardcode) {
		this.fstandardcode = fstandardcode;
	}
	
	@Column(name="fstandardtype")
	public Integer getFstandardtype() {
		return fstandardtype;
	}
	public void setFstandardtype(Integer fstandardtype) {
		this.fstandardtype = fstandardtype;
	}
	
	@Column(name="fitemcode")
	public String getFitemcode() {
		return fitemcode;
	}
	public void setFitemcode(String fitemcode) {
		this.fitemcode = fitemcode;
	}
	
	@Column(name="fitemname")
	public String getFitemname() {
		return fitemname;
	}
	public void setFitemname(String fitemname) {
		this.fitemname = fitemname;
	}
	
	@Column(name="fitemtype")
	public String getFitemtype() {
		return fitemtype;
	}
	public void setFitemtype(String fitemtype) {
		this.fitemtype = fitemtype;
	}
	
	@Column(name="fjb")
	public String getFjb() {
		return fjb;
	}
	public void setFjb(String fjb) {
		this.fjb = fjb;
	}
	
	@Column(name="fpx")
	public String getFpx() {
		return fpx;
	}
	public void setFpx(String fpx) {
		this.fpx = fpx;
	}
	
/*	@Column(name="frelation")
	public String getFrelation() {
		return frelation;
	}
	public void setFrelation(String frelation) {
		this.frelation = frelation;
	}*/
	
	@Column(name="fselected")
	public String getFselected() {
		return fselected;
	}
	public void setFselected(String fselected) {
		this.fselected = fselected;
	}
	
	@Column(name="fshow")
	public String getFshow() {
		return fshow;
	}
	public void setFshow(String fshow) {
		this.fshow = fshow;
	}
	
	@Column(name="fshownull")
	public String getFshownull() {
		return fshownull;
	}
	public void setFshownull(String fshownull) {
		this.fshownull = fshownull;
	}
	
	@Column(name="fshowsqls")
	public String getFshowsqls() {
		return fshowsqls;
	}
	public void setFshowsqls(String fshowsqls) {
		this.fshowsqls = fshowsqls;
	}
	
	@Column(name="fsql")
	public String getFsql() {
		return fsql;
	}
	public void setFsql(String fsql) {
		this.fsql = fsql;
	}
	
	@Column(name="ftablename")
	public String getFtablename() {
		return ftablename;
	}
	public void setFtablename(String ftablename) {
		this.ftablename = ftablename;
	}
	
	@Column(name="fzdlx")
	public String getFzdlx() {
		return fzdlx;
	}
	public void setFzdlx(String fzdlx) {
		this.fzdlx = fzdlx;
	}
	
	@Column(name="fcjztygh")
	public String getFcjztygh() {
		return fcjztygh;
	}
	public void setFcjztygh(String fcjztygh) {
		this.fcjztygh = fcjztygh;
	}
	
	@Column(name="fcjz")
	public String getFcjz() {
		return fcjz;
	}
	public void setFcjz(String fcjz) {
		this.fcjz = fcjz;
	}
	
	@Column(name="fstartdate")
	public Date getFstartdate() {
		return fstartdate;
	}
	public void setFstartdate(Date fstartdate) {
		this.fstartdate = fstartdate;
	}
	
	@Column(name="fenddate")
	public Date getFenddate() {
		return fenddate;
	}
	public void setFenddate(Date fenddate) {
		this.fenddate = fenddate;
	}
	
	@Column(name="ftykh")
	public String getFtykh() {
		return ftykh;
	}
	public void setFtykh(String ftykh) {
		this.ftykh = ftykh;
	}
	
	@Column(name="fks")
	public String getFks() {
		return fks;
	}
	public void setFks(String fks) {
		this.fks = fks;
	}
	@Column(name="frelation")
	public String getAndor() {
		return andor;
	}
	public void setAndor(String andor) {
		this.andor = andor;
	}
	@Column(name="Lbracket")
	public String getLbracket() {
		return lbracket;
	}
	public void setLbracket(String lbracket) {
		this.lbracket = lbracket;
	}
	@Column(name="Rbracket")
	public String getRbracket() {
		return rbracket;
	}
	public void setRbracket(String rbracket) {
		this.rbracket = rbracket;
	}
}
